package com.yongbao.model.vo;

import com.yongbao.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("管理员权限响应模型")
public class PermissionVO extends BaseVO implements Serializable {
    @ApiModelProperty("上一级id")
    private Long parentId;
    @ApiModelProperty("权限名称")
    private String name;
    @ApiModelProperty("权限类型： 0：页面，1：按钮")
    private Integer type;
    @ApiModelProperty("权限CODE")
    private String code;
    @ApiModelProperty("权限描述")
    private String descpt;
    @ApiModelProperty("操作人")
    private String operator;
}
